Skip to content

Drop support for Python 3.9 - #375

Merged
sapols merged 1 commit into
IMAP-Science-Operations-Center:mainfrom
sapols:ci-py39-ubuntu-24.04
Nov 6, 2026
Merged

sapols merged 1 commit into
IMAP-Science-Operations-Center:mainfrom
sapols:ci-py39-ubuntu-24.04

Conversation

@sapols

@sapols sapols commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Change Summary

Overview

Closes #374.

ubuntu-latest is moving to Ubuntu 26.04, and actions/setup-python has no Python 3.9 build for it, so the Ubuntu 3.9 test job fails at setup and fail-fast cancels the rest of the matrix. Rather than keep testing 3.9 on ubuntu-24.04, we agreed on Slack to drop Python 3.9, which has been end of life since October 2025. Python 3.9 users will keep getting the last release before this one.

File changes

  • .github/workflows/test.yml: remove 3.9 from the test matrix.
  • pyproject.toml: add requires-python = ">=3.10" and remove the 3.9 classifier.

FYI, I left ruff's target-version at py39; moving it to py310 would rewrite 31 Optional/Union annotations, which could/should be its own change if desired.

Testing

CI on this PR runs the 12 remaining jobs. Locally, the tests pass on Python 3.10, and pip on Python 3.9 refuses to install this version.

@sapols
sapols marked this pull request as ready for review November 5, 2026 01:58
GitHub is moving ubuntu-latest to Ubuntu 26.04, which has no Python 3.9
build in setup-python, so the ubuntu-latest 3.9 test job fails at setup
and fail-fast cancels the rest of the matrix. Python 3.9 has been end of
life since October 2025, so stop testing it and declare
requires-python >= 3.10.

@tmplummer tmplummer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sapols
sapols merged commit e5410b9 into IMAP-Science-Operations-Center:main Nov 6, 2026
13 checks passed
@sapols
sapols deleted the ci-py39-ubuntu-24.04 branch November 6, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests fail on ubuntu-latest (Ubuntu 26.04), which has no Python 3.9

2 participants